# $Id: PKGBUILD 65235 2012-02-20 12:24:20Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Anonymous <fegdri@gmail.com>

pkgname=festvox-ru
pkgver=0.5
pkgrel=2
pkgdesc="Russian support for Festival."
arch=('any')
url="http://festlang.berlios.de/docu/doku.php?id=russianru"
depends=('festival')
makedepends=()
license=('BSD')
install=festvox-ru.install
source=(http://download.berlios.de/festlang/msu_ru_nsh_clunits-$pkgver.tar.bz2)
md5sums=('ded572f715cfd58e62d4bc380eb64c48')

build() {
  cd $srcdir/msu_ru_nsh_clunits
  mkdir -p $pkgdir/usr/share/festival/voices/russian/msu_ru_nsh_clunits
  mv * $pkgdir/usr/share/festival/voices/russian/msu_ru_nsh_clunits
  mkdir -p $pkgdir/usr/share/licenses/$pkgname/
  mv $pkgdir/usr/share/festival/voices/russian/msu_ru_nsh_clunits/COPYING $pkgdir/usr/share/licenses/$pkgname/
}
